<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
<!--    1.依赖-->
    <link rel="stylesheet" href="/lib/layui-v2.6.3/css/layui.css" media="all">
    <script src="/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
</head>
<body>
<!--2.表单标签-->
<form class="layui-form" action="/api/student/save.do" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">学生学号：</label>
        <div class="layui-input-block">
            <input type="text" name="stu_id" required  lay-verify="required" placeholder="请输入学生学号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">学生姓名：</label>
        <div class="layui-input-block">
            <input type="text" name="stu_name" required  lay-verify="required" placeholder="请输入学生姓名" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">性别</label>
        <div class="layui-input-block">
            <input type="radio" name="stu_sex" value="1" title="男性" checked="">
            <input type="radio" name="stu_sex" value="2" title="女性">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">班级：</label>
        <div class="layui-input-block">
            <input type="text" name="stu_cls" required  lay-verify="required" placeholder="请输入班级" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">账号对应的id：</label>
        <div class="layui-input-block">
            <input type="text" name="stu_cardId" required  lay-verify="required" placeholder="请输入账号对应的id" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">奖励对应的id：</label>
        <div class="layui-input-block">
            <input type="text" name="stu_srewardId" required  lay-verify="required" placeholder="请输入奖励对应的id" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn">新增</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>

</body>
</html>